#ifndef _PLATFORM_H_
#define _PLATFORM_H_


#if defined (TARANIS)
#include "platform_taranis.h"
#endif


#if defined (FLYSKY_9X)
#include "platform_flysky_9x.h"
#endif



/// default platform
#ifndef _PLATFORM_
    #define _PLATFORM_

    #define LEN_USER_NAME 10    ///< use name length
    #define LEN_FP_NAME 10        ///< flight phase name
    #define LEN_MODEL_NAME 10 ///< model name

    #define LEN_VCH_NAME 10    ///< virtual channel name
    #define NUM_POTS 10            ///< number of potentialmeters
    #define NUM_SW_POSITIONS   22    ///< total positions for sw, for taranis: 6*3 +2*2
    #define NUM_VSW  32
    #define NUM_VPOT 32
    
    /// name defination for hardware potentialmeters and switches
    extern const char constName[][10];
    extern const char potName[][10];
    extern const char swName[][10];
    extern char vswName[][LEN_VCH_NAME];
    extern char vptName[][LEN_VCH_NAME];
    
    
#endif




#endif




